Key Modifiers
fun KeyModifiers(altDown: Boolean = false, metaDown: Boolean = false, shiftDown: Boolean = false, controlDown: Boolean = false, altGraphDown: Boolean = false): KeyModifiers
fun KeyModifiers(altDown: Boolean = false, metaDown: Boolean = false, shiftDown: Boolean = false, controlDown: Boolean = false, altGraphDown: Boolean = false): KeyModifiers
Creates a new instance of KeyModifiers with the given parameters.
Since
8.0.0
Parameters
alt Down
Specifies whether the Alt key is pressed.
meta Down
Specifies whether the Meta key is pressed.
shift Down
Specifies whether the Shift key is pressed.
control Down
Specifies whether the Control key is pressed.
alt Graph Down
Specifies whether the AltGraph key is pressed.